//------------------------------------------------------------------------------------
#ifndef __CCONTROLPANEL_H__
#define __CCONTROLPANEL_H__
//------------------------------------------------------------------------------------
#include <QPainter>
//------------------------------------------------------------------------------------
class CControlPanel {
    public:
        CControlPanel(int nbVie);
        void draw(QPainter *painter);
		void setNbVie(int nbVie);
		void setNbSouris(int nbSouris) { this->nbSouris = nbSouris; }
		void setTemps(int temps) { this->temps = temps; }
		void setWorldNum(int worldNum) { this->worldNum = worldNum; }
		void drawValue(QPainter *painter, int value, int x, int y);
    private:
		int nbVie;
		int nbSouris;
		int temps;
		int worldNum;
        QImage controlPanel;
		QImage sol;
};
//------------------------------------------------------------------------------------
#endif // __CCONTROLPANEL_H__
//------------------------------------------------------------------------------------
